Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appearances for MINI #40

Merged
merged 6 commits into from
Jan 10, 2025
Merged

Conversation

kazuma0129
Copy link
Member

@kazuma0129 kazuma0129 commented Jan 10, 2025

ref: #37

Summary

In order to provide this as a Playground for MINI, changes were made to allow switching the appearance of text and other items.

LIFF MINI

@kazuma0129 kazuma0129 requested a review from a team as a code owner January 10, 2025 06:08
@kazuma0129 kazuma0129 mentioned this pull request Jan 10, 2025
2 tasks

export default function Header() {
const {filter, appId} = useContext(AppContext);
const appName = useMemo(() => {
return filter === 'LIFF' ? 'LIFF Playground' : 'LINE MINI App Playground'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that the style of the Open in LINE button is broken.
Applying the following diff can prevent the button's style from breaking.

diff --git a/src/components/Header.module.css b/src/components/Header.module.css
index 87edea9..02e74ac 100644
--- a/src/components/Header.module.css
+++ b/src/components/Header.module.css
@@ -17,6 +17,14 @@
   align-items: center;
 }
 
+.left {
+  flex: 1;
+}
+
+.right {
+  flex-basis: 100px;
+}
+
 .left a {
   text-decoration: none;
   color: #000;

localhost_3000__mini(iPhone SE)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been fine-tuned and corrected. Thank you for the suggestions. 12f3c52

@kazuma0129
Copy link
Member Author

The implementation of the notice switching was missing, so it has been added. e699014

@kazuma0129 kazuma0129 requested a review from odanado January 10, 2025 07:42
Base automatically changed from add-apis to support-mini-features January 10, 2025 08:25
@kazuma0129 kazuma0129 merged commit 30c9e5e into support-mini-features Jan 10, 2025
2 checks passed
@kazuma0129 kazuma0129 deleted the appearances-for-mini branch January 10, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants